package net.timguibord.web.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;

public class Resume implements EntryPoint {
	
	interface Binder extends UiBinder<DockLayoutPanel, Resume> { }
	 
	private static final Binder binder = GWT.create(Binder.class);
	
	@UiField NavPanel navPanel;
	@UiField BodyPanel bodyPanel;
	
	@Override
	public void onModuleLoad() {
	  
	  GWT.<GlobalResources>create(GlobalResources.class).css().ensureInjected();
    DockLayoutPanel dlp = binder.createAndBindUi(this);
    Window.enableScrolling(false);
    Window.setMargin("0px");
    
    RootLayoutPanel rp = RootLayoutPanel.get();
    rp.add(dlp);
	}
}
